using System;
using System.Collections.Generic;
using System.Text;

namespace Telephone
{
    class Phone
    {
        string _Name,_Code,_Address,_Number;
        public string Name
        {
            set
            {
                _Name = value;
            }
            get
            {
                return _Name;
            }
        }
        public string Code
        {
            set
            {
                _Code = value;
            }
            get
            {
                return _Code;
            }
        }

        public string Address
        {
            set
            {
                _Address = value;
            }
            get
            {
                return _Address;
            }
        }
        public string Number
        {
            set
            {
                _Number = value;
            }
            get
            {
                return _Number;
            }
        }
        public Phone(string _name, string _code, string _address, string _number)
        {
            Name = _name;
            Code = _code;
            Address = _address;
            Number = _number;
        }
    }
}
